﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Benefit.Models.Sys;

namespace Benefit.Interface.Sys
{
    public interface IGroupOperators
    {
        void AddGroupOperators(int groupId, int operatorId);

        List<GroupOperators> GetList();

        /// <summary>
        /// 在网页中配置账户和操作员关系
        /// </summary>
        /// <param name="oas"></param>
        void ResetOperatorGroups(List<GroupOperators> gas);
        /// <summary>
        /// 得到一个组的所有组员
        /// </summary>
        /// <param name="groupid"></param>
        /// <param name="db"></param>
        /// <returns></returns>
        List<GroupOperators> GetGroupOperators(int groupid);
    }
}